Syntax Checker for ACW Battleground Series MAIN.OOB files v0.9

NOTE:  This program will not work with Napoleonic Battleground Series
games!

This program performs a syntax check on the MAIN.OOB file for American
Civil War Battleground Series games.  It performs three checks.  First,
it scans to identify any lines that are out of order (e.g., an army
that is subordinate to a brigade).  Second, it scans each line to
determine that the line contains all required elements for that line
type (e.g., a unit must include the unit strength, moral, type, weapon,
picture and state silhouette).  Third, it does range checks on certain
values.

If an "out of order" line is encountered, the program displays an
error mesage and immediately terminates.  If a line is missing an 
element, or a value is out of range, the error is displayed, but the 
program continues.

Optionally, the program will also generate a text file listing the 
leaders in the order their pictures should appear in the "leaders.bmp"
and "faces.bmp" files.

TO USE:

Usage:  oobchckr [-l [filename]]

Put the OOBCHCKR.EXE program in the same directory as the MAIN.OOB 
file to be checked and run it.  If the "-l" switch is used, a list of
the leaders in the MAIN.OOB file is written to the file "filename".
If no filename is given, the leader list is written to the file
"leaders.txt".

If an error is encountered, the program will disply the line number 
where the error occurred, an error message and the text of the line 
containing the error.

FUTURE ENHANCEMENTS:
A Win95 version of the program.

That's it!  Good luck, and happy Order of Battle editing.

NOTICE:  Copyright 1998 Mark Tomas.  All Rights Reserved. 
You are granted a non-exclusive license to use this software
for non-commercial purposes.  You may not use this software for any 
commercial purpose.

Mark Tomas
mtomas@greatnorthern.net
